#include "FolderItemComponent.h"

FolderItemComponent::FolderItemComponent (File file_) : file(file_)
{
}
    
FolderItemComponent::~FolderItemComponent()
{}

void FolderItemComponent::paint (Graphics& g)
{
	Image* im = juce_createIconForFile (file);
	g.drawImageWithin(im, 0, 0, getWidth(), getHeight(), juce::RectanglePlacement::fillDestination);
}
void FolderItemComponent::resized()
{}
